using System;
using System.Collections.Generic;
using System.Text;

namespace Crm.Domain
{
    /// <summary>
    /// An immutable summary of a <see cref="Customer"/>.
    /// </summary>
    /// <remarks>
    /// This is an example of the PartySummary archetype.
    /// </remarks>
    public class CustomerSummary
    {

        #region Fields

        private CustomerIdentifier _identifier;

        #endregion

        #region Constructor

        internal CustomerSummary(Customer customer)
        {
            _identifier = customer.Identifier;
        }

        #endregion

        #region Properties

        public CustomerIdentifier Identifier
        {
            get
            {
                return _identifier;
            }
        }

        #endregion
    }
}
